package com.jiezhuo.service;

import com.jiezhuo.dto.IotSceneInfoDTO;
import com.jiezhuo.dto.NodeInfoAndSensorNumDTO;
import com.jiezhuo.entity.IotNodeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezhuo.entity.vo.NodeInfoAndSensorNumVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-19
 */
public interface IotNodeInfoService extends IService<IotNodeInfo> {
    List<IotNodeInfo>  getNodeInfoByScenId(IotSceneInfoDTO iotSceneInfoDTO);

    Map<String,Object> nodeInfo(Integer id);

    NodeInfoAndSensorNumVo getNodeInfoAndSensorNum(NodeInfoAndSensorNumDTO nodeInfoAndSensorNumDTO);
}
